const NODE_ENV = process.env.NODE_ENV
let server = {
  host: '//meishuchun.cn',
  port: 3009
}
let imgBase = `//meishuchun.cn/movie-chat-server`
if (NODE_ENV === 'development') {
  server = {
    // host: 'http://192.168.1.104',
    host: '//localhost',
    port: 3009
  }
  imgBase = `//192.168.119.51:3007`
}
const apiBase = `${server.host}:${server.port}`

export default {
  apiBase,
  imgBase,
  server
}
